<?php
include("../inc/conn.inc");
include("islogin.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员中心-三帝贸易网</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/qq.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin: 0px;
	padding: 0px;
}
.txt a {
	color: #993300;
	text-decoration: none;
}
.txt a:hover {
	color: #FF3300;
	text-decoration: underline;
}
.txt {
	line-height: 24px;
	font-size: 14px;
	padding-left: 5px;
}
.txt .red {
	color: #FF3300;
}
.txt .b {
	font-weight: bold;
}
.txt .arial {
	font-family: Arial, Helvetica, sans-serif;
}
.r2{
   width:256px;
   height:172px;
   float:right;   
   position:fixed !important;
   bottom:20px;
   position:absolute;z-index:400;
   top:expression(offsetParent.scrollTop+380);
   right:0px;
   }
-->
</style>
</head>
<script type="text/javascript" src="js/left.js"></script>
<body>
<div id="mian">
  <?php include("inc/top.php");?>
  <div class="top1"><span>您当前位置：<a href="index.php" class="dh">会员助手</a> &gt;&gt; 首页</span></div>
  
<div class="left">
<?php include("inc/left.php");?>
</div>
<div class="right">
<?php 
 $m_rs=mysql_query("select * from member where id='".$_COOKIE['user_id']."'");
 $m_row=mysql_fetch_array($m_rs);
?>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
   <TR>
     <TD height="40" bgcolor="#EFF6FF" style="font-size:18px;font-weight:bold;padding-left:8px;">会员中心</TD>
   </TR>
</TABLE>
<br>
<?php $l_rs=@mysql_query("select count(id) from m_message where member_id='".$_COOKIE['user_id']."' and is_read=0");
	  $l_num=@mysql_result($l_rs,0);
	  @mysql_free_result($l_rs);
	  if($m_row['m_type']==3){
	  $urls="http://www.sandib2b.cn/cn/template/".$_COOKIE['user_name']."/";
	  }else{
	  $urls="http://".$_COOKIE['user_name'].".sandib2b.cn";
	  }
?>
<TABLE width="100%" border="0" cellPadding="0" cellSpacing="1" bgcolor="#9DBDE6">
  <TR>
    <TD height="45" bgcolor="#EDF3FD" style="padding:5px;"><IMG src="images/mail.gif" width="16" height="17" border="0" align="absmiddle">&nbsp;您有 <A href="mail/inbox.php"><?=$l_num?></A> 条留言未读！&nbsp;&nbsp;<IMG src="images/JT_4.gif" width="11" height="11" border="0" align="absmiddle"><A href="mail/inbox.php">立即查看邮件</A>&nbsp;&nbsp;<?php if($m_row['m_type']==3){?><a href="http://www.sandib2b.cn/cn/template/<?=$_COOKIE['user_name']?>/" target="_blank">进入企业商铺</a><?php }else{?><a href="http://<?=$_COOKIE['user_name']?>.sandib2b.cn" target="_blank">进入企业商铺</a><?php }?><?php if($m_row['m_sh']==0){ echo "<font color='#990000'>(未审核)</font>";}?>&nbsp;&nbsp;<a href="/member/cnzz/">行业数据<img src="/member/images/gif-0309.gif" width="22" height="9" border="0" align="absmiddle" /></a></TD>
     </TR>
</TABLE>
<br>
<?php if($m_row['m_static']==0){?>
<TABLE width="100%" border="0" cellPadding="0" cellSpacing="0">
  <TR>
    <TD height="45" bgcolor="#FF9999" style="padding:5px;"><p style="font-weight:bold;">警告</p> 
您的企业资料尚未完善，请完善您的企业资料，以免影响您的使用，<a href="company/index.php">现在完善</a></TD>
   </TR>
</TABLE>
<?php }?>
<TABLE width="100%" border="0" cellPadding="0" cellSpacing="1" bgcolor="#FDCA3D">
  <TR>
    <TD height="45" bgcolor="#FEEDC2" style="padding:5px;line-height:35px;"><b>您好:</b><font color="#CC3333"><?=$m_row[m_name]?> <?=$m_row[m_sex]?></font><br>
  <b>会员等级:</b><?php if($m_row['m_type']=="3"){?>普通会员，<a href="sj.php">立即升级钻石会员</a><?php }else{?><img src="/images/member.gif" border="0" align="absmiddle">，到期时间：<?=date("Y-m-d",strtotime($m_row[m_endtime]))?>，<a href="sf.php">续费</a><?php }?><br>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="2px;"></td>
  </tr>
</table>
  <b>帐户余额：</b><img src="images/sdb.gif" alt="三帝币" border="0" align="absmiddle"><font color="red"><?=$m_row[m_jifen]?></font>三帝币&nbsp;&nbsp;<a href="/member/pay.php">立即充值</a>&nbsp;&nbsp;<a href="paylist.php">查看详情</a><br>
<b>注册时间:</b><?=date("Y-m-d",strtotime($m_row[m_addtime]))?><br>
  <b>最近登陆时间:</b><?=$m_row[m_logintime]?></TD>
   </TR>
</TABLE>
<br>
<?php if($m_row['m_type']=="3"){?>
&nbsp;<font color="#0000FF">钻石会员1年只需380元</font>&nbsp;<a href="/member/pay.php" style="color:#FF0000;">马上加入</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<font color="#0000FF">1个三帝币=1元人民币</font>)<br>
<?php }?>
<TABLE width="100%" border="0" cellPadding="0" cellSpacing="1" bgcolor="#FFA6A6">
  <tr>
     <td height="30" colspan="2" style="padding:3px;"><b>三帝会员服务内容介绍</b></td>
  </tr>
  <TR>
    <TD width="50%" height="45" valign="top" bgcolor="#FFEEEE" style="padding:5px;line-height:18px;">
<b style="color:#0000FF">钻石会员</b><br>
1、发布产品不限制，产品优先被审核。<br>
2、产品重发布不限制。<br>
3、送企业网站，送独立二级域名，含有新闻系统。<br>
4、网站风格可以更新。<br>
5、可以上传企业logo、企业宣传图片、会员头像。<br>
6、送招聘网站<br>
7、发布展会。<br>
8、成为三帝贸易网的供应商。</TD>
    <TD width="50%" valign="top" bgcolor="#FFEEEE" style="padding:5px;line-height:18px;">
<b style="color:#0000FF">普通会员</b><br>
1、发布产品限制10条。<br>
2、产品重发限制10条。<br>
3、送企业网站，无独立域名，无新闻系统。<br>
4、网站风格不能更新。<br>
5、禁止上传企业logo、企业宣传图片、会员头像。<br>
6、送招聘网站。<br>
7、发布展会。<br>
8、成为三帝贸易网的供应商。
</TD>
  </TR>
</TABLE>

<br>
<?php include("taocan.php")?>
 <br>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCC66">
  <tr>
    <td height="30" style="padding:3px;color:#009966"><b>三帝币介绍</b></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF" style="padding-left:5px; line-height:22px;">
      &nbsp;&nbsp;&nbsp;&nbsp;三帝币简称SDB，是由三帝推出的一种虚拟货币，可以支付三帝会员服务等服务。通常它的兑价是1三帝币=1人民币。<br>
      &nbsp;&nbsp;&nbsp;&nbsp;三帝币获得方式：财付通网上在线充值，网上转账。<br>
     &nbsp;&nbsp;&nbsp;&nbsp;三帝币支付服务：三帝币可以支付三帝网站的所有服务（包括申请三帝账号，升级钻石会员，查看招标信息，下载三帝资料等方式）。</td>
  </tr>
</table>
<br>

</div>
<div class="onl"></div>
<?php include("inc/foot.php");?>
</div>

<div id="r2" class="r2"><table width="256" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="251" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/m.gif" width="256" height="20" border="0" usemap="#Map2"/></td>
      </tr>
    </table>
      <table width="100%" height="152" border="0" cellpadding="0" cellspacing="3" bgcolor="#E1E1E1">
        <tr>
          <td bgcolor="#F5F5F5" class="txt"><p>尊敬的会员您好！<?php if($m_row['m_type']=="3"){?>普通会员<?php }else{?><img src="/images/member.gif" border="0" align="absmiddle"><?php }?><br />
            您有 <span class="red b arial"><?=$l_num?></span> 封新留言 （<A href="mail/inbox.php">查看</A>）<br />
              您的积分 <span class="red b arial"><?=$m_row[m_jifen2]?></span> 分<br />
            您的商铺：<a href="<?=$urls?>" class="arial" target="_blank">查看商铺</a></p>
          </td>
        </tr>
      </table></td>
  </tr>
</table>
</div>

<map name="Map2">
<area shape="rect" coords="198,3,250,18" onClick="document.getElementById('r2').style.display='none'">
<area shape="rect" coords="4,4,128,17" href="http://www.301688.com" target="_blank"></map>
</body>
</html>

<script src="/member/js/qq.js" type="text/javascript" charset='gb2312'></script>